﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddCar.aspx.vb" Inherits="Assignment_2___Prototype.AddCar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            font-size: medium;
            color: #FFFFFF;
            font-family: Calibri;
        }
        .style2
        {
            color: #FFFFFF;
            font-family: Calibri;
        font-size: medium;
    }
        .style5
        {
            font-size: medium;
            color: #FFFFCC;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="transparent">
    <p class="style5">
        <strong>Car Details</strong></p>
    <p>
        <asp:Label ID="Label1" runat="server" Text="Model" CssClass="style2" 
            style="font-size: medium"></asp:Label>
        <asp:TextBox ID="txtCarModel" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label2" runat="server" Text="Type" CssClass="style2" 
            style="font-size: medium"></asp:Label>
        <asp:TextBox ID="txtType" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label3" runat="server" Text="Colour" CssClass="style2" 
            style="font-size: medium"></asp:Label>
        <asp:TextBox ID="txtColour" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label4" runat="server" Text="Year" CssClass="style2" 
            style="font-size: medium"></asp:Label>
        <asp:TextBox ID="txtYear" runat="server" style="margin-left: 5px" Width="68px"></asp:TextBox>
    </p>
    <p class="style5">
        <strong>Engine Details</strong></p>
    <p>
        <asp:Label ID="Label5" runat="server" Text="Fuel" CssClass="style2" 
            style="font-size: medium"></asp:Label>
        <asp:DropDownList ID="dropdownFuel"  runat="server">
            <asp:ListItem>Diesel</asp:ListItem>
            <asp:ListItem>Petrol</asp:ListItem>
            <asp:ListItem>Gas</asp:ListItem>
        </asp:DropDownList>
&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label6" runat="server" Text="Engine Capacity" CssClass="style2"></asp:Label>
        <asp:TextBox ID="txtEngine" runat="server" Width="72px"></asp:TextBox>
&nbsp;&nbsp;
        <asp:Label ID="Label7" runat="server" Text="Transmission:" CssClass="style2"></asp:Label>
        <asp:RadioButtonList ID="rbTransmission" runat="server" 
            RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="style2" 
            style="font-size: medium; font-style: italic;">
            <asp:ListItem>Manual</asp:ListItem>
            <asp:ListItem>Auto</asp:ListItem>
        </asp:RadioButtonList>
&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label8" runat="server" Text="Wheel Size" CssClass="style2"></asp:Label>
        <asp:TextBox ID="txtWheelSize" runat="server" Width="79px"></asp:TextBox>
    </p>
    <p class="style5">
        <strong>Additional Features</strong></p>
    <p>
        <asp:CheckBox ID="chkBoxBluetooth" runat="server" Text="Bluetooth" 
            CssClass="style2" />
        <asp:CheckBox ID="chkBoxNavigation" runat="server" Text="Navigation" 
            CssClass="style2"/>
        <asp:CheckBox ID="chkBoxSecurity" runat="server" Text="Security" 
            CssClass="style2"/>
        <asp:CheckBox ID="chkBoxSunroof" runat="server" Text="Sunroof" 
            CssClass="style2"/>
    </p>
    <p class="style5">
        <strong>Add Images&nbsp;&nbsp;&nbsp; </strong>
            <asp:FileUpload ID="txtImage" runat="server" />
        </p>
        <p>
            <asp:Button ID="btnAddCar" runat="server" CssClass="buttons" Height="38px" 
                Text="Submit" Width="163px" />
        </p>
        </div>
</asp:Content>
